package main.chapter3

sealed class PlayerCommands {
    class Play(val url: String, val position: Long) : PlayerCommands()
    class Seek(val position: Long) : PlayerCommands()

    object Pause : PlayerCommands()
    object Resume : PlayerCommands()
    object Stop : PlayerCommands()
}

enum class PayerSate {
    IDLE, PAUSE, PLAYING
}
